package com.probox.common.entity.service.job;

import com.baomidou.mybatisplus.extension.service.IService;
import com.probox.common.entity.domain.job.OrderPayInfo;
import com.probox.order.api.domain.OrderQuery;

/**
 * 付款流水Service接口
 *
 * @author hds
 * @date 2021-06-07
 */
public interface IOrderPayInfoService extends IService<OrderPayInfo> {

    /**
     * 根据支付单号获取付款信息
     * @param parentOrderNo
     * @return
     */
    OrderPayInfo getByOrderNo(String parentOrderNo);

    Long countAmount(OrderQuery query);

}
